#ifndef __GAME_H__
#define __GAME_H__


#include <string>

#include "Tiles.h"
#include "players.h"
#include "table.h"
#include "rules.h"
#include "game.h"


class dice {
	private:
		int value;
	
	public:
		dice();
		void roll();
		int getValue_0();
		int getValue_1();
		
		~dice();
}


class game {
	private:
		dice dices[];
		player players[];
		string rule;
		
		int currentOya;
		int tensu_p0;
		int tensu_p1;
		int tensu_p2;
		int tensu_p3;

	public:
//game();
//game(rules *rule);
		game(rule *rs, player ps[]);
		
		void startGame();
		void endGame();
		int endMatch();
		
		void updatePoint(int newPoint);
		void updateHost(int newHost);
		void Turn();
		
		~game();
		
}

#endif